<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta content="width=device-width, height=device-height,initial-scale=1.0,
        minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" name="viewport">
    <title>测试页面</title>
</head>
<style>
    html, body {
        margin: 0;
        padding: 0;
        overflow: hidden;
    }

    .content {
        width: 100%;
        height: 100%;
        top: 0;
        z-index: -1;
        position: absolute;
    }

    .content img {
        display: block;
        outline: none;
        border: 0;
        height: 100%;
        width: 100%;
    }
</style>

<body>
<div class="content">
    <img alt="评价成功" src="../static/images/渲染图.png">
</div>
</body>
</html>
<script>
    document.documentElement.addEventListener('touchstart', function (event) {
        if (event.touches.length > 1) {
            event.preventDefault();
        }
    }, false);
</script>

<script>
    var lastTouchEnd = 0;
    document.documentElement.addEventListener('touchend', function (event) {
        var now = Date.now();
        if (now - lastTouchEnd <= 300) {
            event.preventDefault();
        }
        lastTouchEnd = now;
    }, false);
</script>
